package top.tocchen.bookshop.service;

import top.tocchen.bookshop.entity.BookEntity;
import top.tocchen.bookshop.entity.CategoryEntity;
import top.tocchen.bookshop.entity.OrderNum;

import java.util.List;

public interface SearchService {
    List<CategoryEntity> CategoryfindAll();
    List<BookEntity> findByStr(String str);
    List<BookEntity> findByCategoryId(Integer categoryid);
    CategoryEntity categoryfindById(Integer categoryid);
    BookEntity findByBookId(Integer id);
    List<BookEntity> findBydate();
    OrderNum getNum();
    void saveNum(int value);
}
